<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">
    <title>打印报关单</title>
    <link rel="shortcut icon" type="image/x-icon" href="/images/logo.ico" />
    <link rel="stylesheet" type="text/css" href="/layui/css/layui.css?v=202001010101" />
    <link rel="stylesheet" type="text/css" href="/css/font-awesome.min.css?v=202001010101" />
    <link rel="stylesheet" type="text/css" href="/css/style.css?v=202001010101">
    <link rel="stylesheet" href="/css/formSelects-v4.css?v=201810182113"/>
    <link rel="stylesheet" type="text/css" href="/css/print.css?v=202001010101">
    <style type="text/css">
        @page{size:A4 landscape;}
    </style>
</head>
<body>
<div class="pring-page">
    <div class="print-btns layui-form">
        <input type="hidden" id="iePortCode" name="iePortCode">
        <input type="hidden" id="iePortName" name="iePortName">
        <input type="hidden" id="ciqEntyPortCode" name="ciqEntyPortCode">
        <input type="hidden" id="ciqEntyPortName" name="ciqEntyPortName">
        <div class="layui-row">
            <div class="layui-col-md8">
                <label class="layui-form-label">不展示内容</label>
                <div class="layui-input-block">
                    <select xm-select="notshow-select" xm-select-search xm-select-skin="danger" id="notshow" name="notshow" lay-search>
                        <option value="iePort">出境关别</option>
                        <option value="ciqEntyPort">离境口岸</option>
                    </select>
                </div>
            </div>
            <div class="layui-col-md4">
                <div class="print-btns">
                    <button type="button" class="layui-btn layui-btn-primary layui-btn-sm" id="print"><i class="fa fa-print"></i> 打印</button>
                    <button type="button" class="layui-btn layui-btn-primary layui-btn-sm" id="exportPdf"><i class="fa fa-file-pdf-o"></i> 导出EXCEL</button>
                </div>
            </div>
        </div>

    </div>
    <div class="main">
        <div class="page-break">
            <div class="head">
                <div class="title22">中华人民共和国海关出口货物报关单</div>
                <hr/>
            </div>
            <div id="conTempView"></div>
        </div>
    </div>
</div>
<script type="text/html" id="conTemp">
    <div class="printArea">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td colspan="2" valign="top"><div class="fwb12">境内发货人 <span style="font-weight:normal">({{d.declaration.rcvgdTradeScc}})</span></div><div>{{d.declaration.rcvgdTradeName}}</div></td>
                <td colspan="2" valign="top"><div class="fwb12">出境关别 <span style="font-weight:normal" class="iePortCode">({{d.declaration.iePortCode}})</span></div><div class="iePortName">{{d.declaration.iePortName}}</div></td>
                <td colspan="2" valign="top" ><div class="fwb12">出口日期</div><div>{{removeNull(d.declaration.importDate)}}</div></td>
                <td colspan="2" valign="top" ><div class="fwb12">申报日期</div><div>{{removeNull(d.declaration.decDate)}}</div></td>
                <td colspan="1" valign="top" ><div class="fwb12">备案号</div><div>{{removeNull(d.declaration.recordNo)}}</div></td>
            </tr>
            <tr>
                <td colspan="2" valign="top"><div class="fwb12">境外收货人</div><div>{{removeNull(d.declaration.consignorName)}}</div></td>
                <td colspan="2"  valign="top"><div class="fwb12">运输方式 <span style="font-weight:normal">({{d.declaration.cusTrafModeCode}})</span></div><div>{{d.declaration.cusTrafModeName}}</div></td>
                <td colspan="2" valign="top"><div class="fwb12">运输工具名称及航次号</div><div>/{{removeNull(d.declaration.cusVoyageNo)}}</div></td>
                <td colspan="3" valign="top"><div class="fwb12">提运单号</div><div>{{removeNull(d.declaration.billNo)}}</div></td>
            </tr>
            <tr>
                <td colspan="2" valign="top"><div class="fwb12">生产销售单位 <span style="font-weight:normal">({{d.declaration.ownerScc}})</span></div><div>{{d.declaration.ownerName}}</div></td>
                <td colspan="2" valign="top"><div class="fwb12">监管方式 <span style="font-weight:normal">({{d.declaration.supvModeCdde}})</span></div><div>{{d.declaration.supvModeCddeName}}</div></td>
                <td colspan="2" valign="top"><div class="fwb12">征免性质 <span style="font-weight:normal">({{d.declaration.cutModeCode}})</span></div><div>{{d.declaration.cutModeName}}</div></td>
                <td colspan="3" valign="top"><div class="fwb12">许可证号</div><div>{{removeNull(d.declaration.licenseNo)}}</div></td>
            </tr>
            <tr>
                <td colspan="2" valign="top"><div class="fwb12">合同协议号</div><div>{{removeNull(d.declaration.contrNo)}}</div></td>
                <td colspan="2" valign="top"><div class="fwb12">贸易国(地区) <span style="font-weight:normal">({{d.declaration.cusTradeNationCode}})</span></div><div>{{d.declaration.cusTradeNationName}}</div></td>
                <td colspan="2" valign="top"><div class="fwb12">运抵国(地区) <span style="font-weight:normal">({{d.declaration.cusTradeCountryCode}})</span></div><div>{{d.declaration.cusTradeCountryName}}</div></td>
                <td colspan="2" valign="top"><div class="fwb12">指定港 <span style="font-weight:normal">({{d.declaration.distinatePortCode}})</span></div><div>{{d.declaration.distinatePortName}}</div></td>
                <td colspan="1" valign="top"><div class="fwb12">离境口岸 <span style="font-weight:normal" class="ciqEntyPortCode">({{d.declaration.ciqEntyPortCode}})</span></div><div class="ciqEntyPortName">{{d.declaration.ciqEntyPortName}}</div></td>

            </tr>
            <tr>
                <td colspan="2" valign="top"><div class="fwb12">包装种类 <span style="font-weight:normal">({{d.declaration.wrapTypeCode}})</span></div><div>{{d.declaration.wrapTypeName}}</div></td>
                <td colspan="1" valign="top"><div class="fwb12">件数</div><div>{{d.declaration.packNo}}</div></td>
                <td colspan="1" valign="top"><div class="fwb12">毛重(千克)</div><div>{{d.declaration.grossWt}}</div></td>
                <td colspan="1" valign="top"><div class="fwb12">净重(千克)</div><div>{{d.declaration.netWt}}</div></td>
                <td colspan="1" valign="top"><div class="fwb12">成交方式 <span style="font-weight:normal">({{d.declaration.dyckTransactionMode}})</span></div><div>{{d.declaration.transactionModeDesc}}</div></td>
                <td colspan="1" valign="top"><div class="fwb12">运费</div><div>{{d.declaration.transCosts}}</div></td>
                <td colspan="1" valign="top"><div class="fwb12">保费</div><div>{{d.declaration.insuranceCosts}}</div></td>
                <td colspan="1" valign="top"><div class="fwb12">杂费</div><div>{{d.declaration.miscCosts}}</div></td>
            </tr>
            <tr>
                <td colspan="9" valign="top"><div class="fwb12">随附单征及编号</div><div>&nbsp;</div></td>
            </tr>
            <tr>
                <td colspan="9" valign="top"><div class="fwb12">标记唛码及备注：</div><div>备注：</div><div>&nbsp;</div></td>
            </tr>
            <tr>
                <td colspan="2" valign="top"><div class="fwb12">特殊关系确认</div><div></div></td>
                <td colspan="2" valign="top"><div class="fwb12">价格影响确认</div><div></div></td>
                <td colspan="2" valign="top"><div class="fwb12">支付特许权使用费</div><div></div></td>
                <td colspan="3" valign="top"><div class="fwb12">自报自缴</div><div></div></td>
            </tr>
        </table>
    </div>
    <div class="printArea" style="margin-bottom: 8px">
        <table>
            <thead>
            <tr>
                <th>项号</th>
                <th>商品编号</th>
                <th style="width: 454px">商品名称及规格型号</th>
                <th>数量及单位</th>
                <th>单价/总价/币制</th>
                <th>原产国（地区）</th>
                <th>最终目的国（地区）</th>
                <th>境内货源地</th>
                <th>征免</th>
            </tr>
            </thead>
            <tbody>
            {{# $.each(d.members,function(i,o){}}
            <tr>
                <td style="text-align: left" valign="top">{{i+1}}</td>
                <td style="text-align: left" valign="top">{{o.hsCode}}</td>
                <td style="text-align: left" valign="top">
                    {{o.name}}<br />
                    <!--
                    {{isNotEmpty(o.brand) ? (o.brand + '牌') : '' }}&nbsp;&nbsp;&nbsp;&nbsp;{{isNotEmpty(o.model) ? (o.model + '型') : '' }}<br />
                    -->
                    品牌：{{removeNull(o.brand)}}&nbsp;&nbsp;&nbsp;&nbsp;型号：{{removeNull(o.model)}}<br />
                    {{o.declareSpec}}
                </td>
                <td style="text-align: left" valign="top">
                    {{removeNull(o.quantity1)}}{{o.unit1Name}}<br />
                    {{removeNull(o.quantity2)}}{{removeNull(o.unit2Name)}}<br />
                    {{removeNull(o.quantity)}}{{o.unitName}}
                </td>
                <td style="text-align: left" valign="top">
                    {{removeNull(o.unitPrice)}}<br />
                    {{removeNull(o.totalPrice)}}<br />
                    {{removeNull(o.currencyName)}}
                </td>
                <td style="text-align: left" valign="top">{{removeNull(o.countryName)}}</td>
                <td style="text-align: left" valign="top">{{removeNull(o.destinationCountryName)}}</td>
                <td style="text-align: left" valign="top">{{removeNull(o.districtName)}}</td>
                <td style="text-align: left" valign="top">{{removeNull(o.dutyModeName)}}</td>
            </tr>
            {{#});}}
            </tbody>
        </table>
    </div>
</script>
<script type="text/javascript" src="/js/jquery.min.js?v=202001010101"></script>
<script type="text/javascript" src="/layui/layui.js?v=202001010101"></script>
<script type="text/javascript" src="/js/formSelects-v4.js" charset="utf-8"></script>
<script type="text/javascript" src="/js/app.js?v=202006010928"></script>
<script type="text/javascript" src="/customs/declaration/exp/printDeclaration.js?v=202001010107"></script>
</body>
</html>